﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream 
{
    class Car
    {
        private string band;
        private string type;

        public string Band { get => band; set => band = value; }
        public string Type { get => type; set => type = value; }

      
        public Car() { }

        public Car(string band,string type)
        {
            this.Band = band;
            this.Type = type;
        }

        public void RunTest() 
        {
            Console.WriteLine("一辆{0}品牌，{1}型号在路上飙车",this.Band,this.Type);
        }

      
    }
}
